﻿using DataAccess.DAO;
using DataAccess.DAO.Impl;
using DataAccess.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessLogic.GeneralService.Impl
{
    public class CategoryService : ICategoryService
    {
        private ICategoryRepository categoryRepository;
        public CategoryService()
        {
            categoryRepository = new CategoryRepository();
        }

        public void AddCategory(Category category)
        {
            categoryRepository.Add(category);
        }

    }
}
